package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.LoginInfo;
import com.itheima.pojo.PageResult;

import java.time.LocalDateTime;
import java.util.List;

public interface EmpService {

    PageResult<Emp> page(EmpQueryParam empQueryParam);


    void add(Emp emp);

    void deleteByIds(List<Integer> ids);

    Emp getById(Integer id);

    void update(Emp emp);

    LoginInfo login(Emp emp);

    List<Emp> listAll();

    PageResult logPage(Integer page, Integer pageSize, String operateEmpName, String className, String methodName, Long costTime, String methodParams, String returnValue, LocalDateTime openDateTime);
}
